
@extends('layouts.appManager')

@section('content')

    <div class="jumbotron jumbotron-fluid">
        <div class="container">
            <h1 class="display-4">服务器列表</h1>
        </div>
    </div>




    <div class="container my-5">

        <div class="row">
            @foreach($servers as $item)
                <div class="col-md-4">

                    <div class="card text-white bg-primary mb-3">
                        <div class="card-body">
                            <h3 class="card-title">
                                <a class="text-white" href="http://{{$item->domain.'.'.config('conf.domain')}}" target="_blank">{{$item->name}}</a>
                            </h3>
                            <p class="card-text text-right">{{$item->created_at}}</p>
                        </div>
                    </div>

                    {{--<div class="d-flex  align-items-center py-3 px-4 my-3 text-white bg-primary rounded shadow-sm">
                        <div class="lh-100">
                            <h3 class="text-white lh-100"><a class="text-white" href="http://{{$item->domain.'.'.config('conf.domain')}}" target="_blank">{{$item->name}}</a></h3>
                            <div>{{$item->info}}</div>
                            <div></div>
                        </div>
                    </div>--}}
                </div>
            @endforeach

        </div>

        <div class="mt-3">
            {{ $servers->links() }}
        </div>
    </div><!-- /.container -->




@endsection